#ifndef XPMDOC_DAL_RDF_XML_HANDLER_H
#define XPMDOC_DAL_RDF_XML_HANDLER_H
#include "dal/XmlHandler.h"
#include "model/rdf/Project.h"
namespace xpm {
	class RdfXmlHandler : public XmlHandler {
	public:
		RdfXmlHandler(Project* project, DOMDocument* doc, string baseName): _project(project),  XmlHandler(doc), _baseName(baseName), _baseNameEX(baseName + "_ex") {}
		virtual ~RdfXmlHandler() {}
		virtual void Parse();
		virtual void Serialize();
		void SerializeInstances();
		void SerializeEntities();
	private:
		void AppendSlotValue(DOMNode* node, Slot* slot, string value);
		Project *_project;
		string _baseName;
		string _baseNameEX;
	};
}

#endif